package com.qfedu.vhr.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qfedu.vhr.system.EntityMappo.RtBranchDeviceData;
import com.qfedu.vhr.system.EntityMappo.RtBranchDeviceDataVo;
import com.qfedu.vhr.system.EntityMappo.RtBranchServiceHandleDataVo;
import com.qfedu.vhr.system.mapper.RtBranchDeviceDataMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RtDeviceStatisticsDataServic extends ServiceImpl<RtBranchDeviceDataMapper, RtBranchDeviceData> {
    @Autowired
    private  RtBranchDeviceDataMapper rtBranchDeviceDataMapper;

    public  List<RtBranchDeviceDataVo> selectDavitistics() {
        return rtBranchDeviceDataMapper.selectDeviceStatistics();
    }

    public List<RtBranchServiceHandleDataVo> rtServiceStatistics() {
        return rtBranchDeviceDataMapper.rtServiceStatistics();
    }
}
